package com.sumainfor.pc.epc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sumainfor.common.util.JsonResult;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @Author PuaChen
 * @Create 2018-11-08 14:53
 */
public interface BuyerManageService {
    JsonResult getBuyerList(@RequestParam Map<String, Object> params, Page page);

    JsonResult getBuyerDetailAsZXDone(String byId);

    JsonResult getBuyerDetailAsGoodsList(String byId);

    JsonResult getOutPutStockShopList(String buyerId);

    JsonResult getBrandList(String speId);

    JsonResult getTypeByComIds(List<String> ids);

    JsonResult getShopRelateHousingForZx(String speId, String buyId);

    JsonResult getNotBuyerOrderInfo(String buyerId);

    JsonResult createBuyerAndOutForOrder(String buyerId);

    JsonResult createBuyerOrder(Map<String, Object> params);

    JsonResult setBuyerInfoStateForDone(List<Integer> ids, String buyId);

    JsonResult buyerOutAction(List<Map<String, Object>> data, String buyId);

    JsonResult createStandbyOrder(Map<String, Object> params);

    JsonResult withdrawStandbyOrder(String buyId);

    JsonResult getStandbyInfo(String buyId);

    JsonResult putStore(List<Map<String, Object>> list);
}
